package com.rong.ORM;

import java.sql.Timestamp;
import java.util.Date;

import com.rong.DAO.ZynCarDAO;
import com.rong.DAO.ZynCompanyDAO;

/**
 * ZynBusiInput entity. @author MyEclipse Persistence Tools
 */

public class ZynBusiInput implements java.io.Serializable {

	ZynCompanyDAO comDao=new ZynCompanyDAO();
	ZynCarDAO carDao=new ZynCarDAO();
	// Fields

	private Integer id;
	private String num;
	private String heatNum;
	private Integer heatComId;
	private String heatComName;
	private Integer heatCarId;
	private String heatCarName;
	private Integer heatPriceId;
	private Double heatPrice;
	private String heatSum;
	private Date heatDate;
	private Double heatWtrCmTept;
	private Double heatWtrAfTept;
	private Timestamp heatTime;
	private String waterIs;
	private String waterNum;
	private Integer waterComId;
	private String waterComName;
	private Integer waterCarId;
	private String waterCarName;
	private Integer waterPriceId;
	private Double waterPrice;
	private Double waterSum;
	private Double waterMeterStar;
	private Double waterMeterEnd;
	private Date waterDate;
	private Timestamp waterTime;
	private String remark;
	
	
//	private String extAttr1;
//	private Double extAttr2;
//	private Double extAttr3;
//	private Double extAttr4;
//	private Double extAttr5;
//	private Double extAttr6;
//	private String extAttr7;
//	private String extAttr8;
	
//	private String totalAmount ;

	private String extAttr8;
	private String extAttr1;
	private Double extAttr2;
	private Double extAttr3;
	private Double extAttr4;
	private Double extAttr5;
	private Double extAttr6;
	private String extAttr7;
	private String extAttr9;
	private String extAttr10;
	private String extAttr11;
	private String extAttr12;
	private String extAttr13;
	private Integer extattrint1;
	private Integer extattrint2;
	private Integer extattrint3;
	private Integer extattrint4;
	private Double extattrdb1;
	private Double extattrdb2;
	private Double extattrdb3;
	private Double extattrdb4;

	private Date extattrdate1;
	private Date extattrdate2;
	private Date extattrdate3;
	private Date extattrdate4;
	
	private ZynStatus sellSts;
	private ZynStatus sellStswater ;
	
	private Double transfTaltolSum ;
	private Double sellTaltolSum ;
	private Double totalAmount ;
	
	private Integer extattrint5;
	private Integer extattrint6;
	private String extattrstr7;
	private String extattrstr8;
	private String extattrstr9;
	private String extattrstr10;
	
	
	// Constructors

	/** default constructor */
	public ZynBusiInput() {
	}

	/** full constructor */
	public ZynBusiInput(String num, String heatNum, Integer heatComId,String heatComName,
			Integer heatCarId,String heatCarName, Integer heatPriceId, Double heatPrice,
			String heatSum, Date heatDate, Double heatWtrCmTept,
			Double heatWtrAfTept, Timestamp heatTime, String waterIs,
			String waterNum, Integer waterComId,String waterComName, Integer waterCarId,String waterCarName,
			Integer waterPriceId, Double waterPrice, Double waterSum,
			Double waterMeterStar, Double waterMeterEnd,Date waterDate,Timestamp waterTime,String remark, String extAttr1,
			Double extAttr2, Double extAttr3, Double extAttr4, Double extAttr5,
			Double extAttr6, String extAttr7, String extAttr8, String extAttr9,
			String extAttr10, String extAttr11, String extAttr12,
			String extAttr13, Integer extattrint1, Integer extattrint2,
			Integer extattrint3, Integer extattrint4, Double extattrdb1,
			Double extattrdb2, Double extattrdb3, Double extattrdb4,
			Double totalAmount,ZynStatus sellSts ,ZynStatus sellStswater, 
			Double transfTaltolSum,Double sellTaltolSum,
			Integer extattrint5,Integer extattrint6,String extattrstr7,String extattrstr8,String extattrstr9,String extattrstr10) {
		this.num = num;
		this.heatNum = heatNum;
		this.heatComId = heatComId;
		this.heatComName = heatComName;
		this.heatCarId = heatCarId;
		this.heatCarName = heatCarName;
		this.heatPriceId = heatPriceId;
		this.heatPrice = heatPrice;
		this.heatSum = heatSum;
		this.heatDate = heatDate;
		this.heatWtrCmTept = heatWtrCmTept;
		this.heatWtrAfTept = heatWtrAfTept;
		this.heatTime = heatTime;
		this.waterIs = waterIs;
		this.waterNum = waterNum;
		this.waterComId = waterComId;
		this.waterComName = waterComName;
		this.waterCarId = waterCarId;
		this.waterCarName = waterCarName;
		this.waterPriceId = waterPriceId;
		this.waterPrice = waterPrice;
		this.waterSum = waterSum;
		this.waterMeterStar = waterMeterStar;
		this.waterMeterEnd = waterMeterEnd;
		this.waterDate = waterDate;
		this.waterTime = waterTime;
		this.remark = remark;
		this.extAttr1 = extAttr1;
		this.extAttr2 = extAttr2;
		this.extAttr3 = extAttr3;
		this.extAttr4 = extAttr4;
		this.extAttr5 = extAttr5;
		this.extAttr6 = extAttr6;
		this.extAttr7 = extAttr7;
		this.extAttr8 = extAttr8;
		this.extAttr9 = extAttr9;
		this.extAttr10 = extAttr10;
		this.extAttr11 = extAttr11;
		this.extAttr12 = extAttr12;
		this.extAttr13 = extAttr13;
		this.extattrint1 = extattrint1;
		this.extattrint2 = extattrint2;
		this.extattrint3 = extattrint3;
		this.extattrint4 = extattrint4;
		this.extattrdb1 = extattrdb1;
		this.extattrdb2 = extattrdb2;
		this.extattrdb3 = extattrdb3;
		this.extattrdb4 = extattrdb4;
		this.totalAmount=totalAmount ;
		this.sellSts=sellSts;
		this.sellStswater= sellStswater;
		
		this.transfTaltolSum=transfTaltolSum;
		this.sellTaltolSum = sellTaltolSum;
		
		this.extattrint5=extattrint5;
			this.extattrint6=extattrint6;
				this.extAttr7=extAttr7;
				this.extAttr8=extAttr8;
				this.extAttr9=extAttr9;
				this.extAttr10=extAttr10;
		
		
	}

	// Property accessors

	
	public Integer getId() {
		return this.id;
	}

	/**
	 * @return the waterDate
	 */
	public Date getWaterDate() {
		return waterDate;
	}

	/**
	 * @param waterDate the waterDate to set
	 */
	public void setWaterDate(Date waterDate) {
		this.waterDate = waterDate;
	}

	/**
	 * @return the waterTime
	 */
	public Timestamp getWaterTime() {
		return waterTime;
	}

	/**
	 * @param waterTime the waterTime to set
	 */
	public void setWaterTime(Timestamp waterTime) {
		this.waterTime = waterTime;
	}

	/**
	 * @return the heatComName
	 */
	public String getHeatComName() {
		return heatComName;
	}

	/**
	 * @param heatComName the heatComName to set
	 */
	public void setHeatComName(String heatComName) {
		
		this.heatComName = heatComName;
		
	}

	/**
	 * @return the heatCarName
	 */
	public String getHeatCarName() {
		return heatCarName;
	}

	/**
	 * @param heatCarName the heatCarName to set
	 */
	public void setHeatCarName(String heatCarName) {
		this.heatCarName = heatCarName;
	}

	/**
	 * @return the waterComName
	 */
	public String getWaterComName() {
		return waterComName;
	}

	/**
	 * @param waterComName the waterComName to set
	 */
	public void setWaterComName(String waterComName) {
		this.waterComName = waterComName;
	}

	/**
	 * @return the waterCarName
	 */
	public String getWaterCarName() {
		return waterCarName;
	}

	/**
	 * @param waterCarName the waterCarName to set
	 */
	public void setWaterCarName(String waterCarName) {
		this.waterCarName = waterCarName;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getNum() {
		return this.num;
	}

	public void setNum(String num) {
		this.num = num;
	}

	public String getHeatNum() {
		return this.heatNum;
	}

	public void setHeatNum(String heatNum) {
		this.heatNum = heatNum;
	}

	public Integer getHeatComId() {
		return this.heatComId;
	}

	public void setHeatComId(Integer heatComId) {
		this.heatComId = heatComId;
		this.setHeatComName(comDao.findById(this.heatComId).getComName());
	}

	public Integer getHeatCarId() {
		return this.heatCarId;
	}

	public void setHeatCarId(Integer heatCarId) {
		this.heatCarId = heatCarId;
		this.setHeatCarName(carDao.findById(this.heatCarId).getNum());
	}

	public Integer getHeatPriceId() {
		return this.heatPriceId;
	}

	public void setHeatPriceId(Integer heatPriceId) {
		this.heatPriceId = heatPriceId;
	}

	public Double getHeatPrice() {
		return this.heatPrice;
	}

	public void setHeatPrice(Double heatPrice) {
		this.heatPrice = heatPrice;
	}

	public String getHeatSum() {
		return this.heatSum;
	}

	public void setHeatSum(String heatSum) {
		this.heatSum = heatSum;
	}

	public Date getHeatDate() {
		return this.heatDate;
	}

	public void setHeatDate(Date heatDate) {
		this.heatDate = heatDate;
	}

	public Double getHeatWtrCmTept() {
		return this.heatWtrCmTept;
	}

	public void setHeatWtrCmTept(Double heatWtrCmTept) {
		this.heatWtrCmTept = heatWtrCmTept;
	}

	public Double getHeatWtrAfTept() {
		return this.heatWtrAfTept;
	}

	public void setHeatWtrAfTept(Double heatWtrAfTept) {
		this.heatWtrAfTept = heatWtrAfTept;
	}

	public Timestamp getHeatTime() {
		return this.heatTime;
	}

	public void setHeatTime(Timestamp heatTime) {
		this.heatTime = heatTime;
	}

	public String getWaterIs() {
		return this.waterIs;
	}

	public void setWaterIs(String waterIs) {
		this.waterIs = waterIs;
	}

	public String getWaterNum() {
		return this.waterNum;
	}

	public void setWaterNum(String waterNum) {
		this.waterNum = waterNum;
	}

	public Integer getWaterComId() {
		return this.waterComId;
	}

	public void setWaterComId(Integer waterComId) {
		this.waterComId = waterComId;
		this.setWaterComName(comDao.findById(this.waterComId).getComName());
	}

	public Integer getWaterCarId() {
		return this.waterCarId;
	}

	public void setWaterCarId(Integer waterCarId) {
		this.waterCarId = waterCarId;
		this.setWaterCarName(carDao.findById(this.waterCarId).getNum());
	}


	/**
	 * @return the waterPriceId
	 */
	public Integer getWaterPriceId() {
		return waterPriceId;
	}

	/**
	 * @param waterPriceId the waterPriceId to set
	 */
	public void setWaterPriceId(Integer waterPriceId) {
		this.waterPriceId = waterPriceId;
	}

	public Double getWaterPrice() {
		return this.waterPrice;
	}

	public void setWaterPrice(Double waterPrice) {
		this.waterPrice = waterPrice;
	}

	public Double getWaterSum() {
		return this.waterSum;
	}

	public void setWaterSum(Double waterSum) {
		this.waterSum = waterSum;
	}

	public Double getWaterMeterStar() {
		return this.waterMeterStar;
	}

	public void setWaterMeterStar(Double waterMeterStar) {
		this.waterMeterStar = waterMeterStar;
	}

	public Double getWaterMeterEnd() {
		return this.waterMeterEnd;
	}

	public void setWaterMeterEnd(Double waterMeterEnd) {
		this.waterMeterEnd = waterMeterEnd;
	}

	
	/**
	 * @return the remark
	 */
	public String getRemark() {
		return remark;
	}

	/**
	 * @param remark the remark to set
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getExtAttr1() {
		return this.extAttr1;
	}

	public void setExtAttr1(String extAttr1) {
		this.extAttr1 = extAttr1;
	}


	/**
	 * @return the extAttr2
	 */
	public Double getExtAttr2() {
		return extAttr2;
	}

	/**
	 * @param extAttr2 the extAttr2 to set
	 */
	public void setExtAttr2(Double extAttr2) {
		this.extAttr2 = extAttr2;
	}

	/**
	 * @return the extAttr3
	 */
	public Double getExtAttr3() {
		return extAttr3;
	}

	/**
	 * @param extAttr3 the extAttr3 to set
	 */
	public void setExtAttr3(Double extAttr3) {
		this.extAttr3 = extAttr3;
	}

	/**
	 * @return the extAttr4
	 */
	public Double getExtAttr4() {
		return extAttr4;
	}

	/**
	 * @param extAttr4 the extAttr4 to set
	 */
	public void setExtAttr4(Double extAttr4) {
		this.extAttr4 = extAttr4;
	}

	/**
	 * @return the extAttr5
	 */
	public Double getExtAttr5() {
		return extAttr5;
	}

	/**
	 * @param extAttr5 the extAttr5 to set
	 */
	public void setExtAttr5(Double extAttr5) {
		this.extAttr5 = extAttr5;
	}

	/**
	 * @return the extAttr6
	 */
	public Double getExtAttr6() {
		return extAttr6;
	}

	/**
	 * @param extAttr6 the extAttr6 to set
	 */
	public void setExtAttr6(Double extAttr6) {
		this.extAttr6 = extAttr6;
	}

	public String getExtAttr7() {
		return this.extAttr7;
	}

	public void setExtAttr7(String extAttr7) {
		this.extAttr7 = extAttr7;
	}

	public String getExtAttr8() {
		return this.extAttr8;
	}

	public void setExtAttr8(String extAttr8) {
		this.extAttr8 = extAttr8;
	}
//	/**
//	 * @return the totalAmount
//	 */
//	public String getTotalAmount() {
//		return totalAmount;
//	}
//
//	/**
//	 * @param totalAmount the totalAmount to set
//	 */
//	public void setTotalAmount(String totalAmount) {
//		this.totalAmount = totalAmount;
//	}

	/**
	 * @return the extAttr9
	 */
	public String getExtAttr9() {
		return extAttr9;
	}

	/**
	 * @param extAttr9 the extAttr9 to set
	 */
	public void setExtAttr9(String extAttr9) {
		this.extAttr9 = extAttr9;
	}

	/**
	 * @return the extAttr10
	 */
	public String getExtAttr10() {
		return extAttr10;
	}

	/**
	 * @param extAttr10 the extAttr10 to set
	 */
	public void setExtAttr10(String extAttr10) {
		this.extAttr10 = extAttr10;
	}

	/**
	 * @return the extAttr11
	 */
	public String getExtAttr11() {
		return extAttr11;
	}

	/**
	 * @param extAttr11 the extAttr11 to set
	 */
	public void setExtAttr11(String extAttr11) {
		this.extAttr11 = extAttr11;
	}

	/**
	 * @return the extAttr12
	 */
	public String getExtAttr12() {
		return extAttr12;
	}

	/**
	 * @param extAttr12 the extAttr12 to set
	 */
	public void setExtAttr12(String extAttr12) {
		this.extAttr12 = extAttr12;
	}

	/**
	 * @return the extAttr13
	 */
	public String getExtAttr13() {
		return extAttr13;
	}

	/**
	 * @param extAttr13 the extAttr13 to set
	 */
	public void setExtAttr13(String extAttr13) {
		this.extAttr13 = extAttr13;
	}

	/**
	 * @return the extattrint1
	 */
	public Integer getExtattrint1() {
		return extattrint1;
	}

	/**
	 * @param extattrint1 the extattrint1 to set
	 */
	public void setExtattrint1(Integer extattrint1) {
		this.extattrint1 = extattrint1;
	}

	/**
	 * @return the extattrint2
	 */
	public Integer getExtattrint2() {
		return extattrint2;
	}

	/**
	 * @param extattrint2 the extattrint2 to set
	 */
	public void setExtattrint2(Integer extattrint2) {
		this.extattrint2 = extattrint2;
	}

	/**
	 * @return the extattrint3
	 */
	public Integer getExtattrint3() {
		return extattrint3;
	}

	/**
	 * @param extattrint3 the extattrint3 to set
	 */
	public void setExtattrint3(Integer extattrint3) {
		this.extattrint3 = extattrint3;
	}

	/**
	 * @return the extattrint4
	 */
	public Integer getExtattrint4() {
		return extattrint4;
	}

	/**
	 * @param extattrint4 the extattrint4 to set
	 */
	public void setExtattrint4(Integer extattrint4) {
		this.extattrint4 = extattrint4;
	}

	/**
	 * @return the extattrdb1
	 */
	public Double getExtattrdb1() {
		return extattrdb1;
	}

	/**
	 * @param extattrdb1 the extattrdb1 to set
	 */
	public void setExtattrdb1(Double extattrdb1) {
		this.extattrdb1 = extattrdb1;
	}

	/**
	 * @return the extattrdb2
	 */
	public Double getExtattrdb2() {
		return extattrdb2;
	}

	/**
	 * @param extattrdb2 the extattrdb2 to set
	 */
	public void setExtattrdb2(Double extattrdb2) {
		this.extattrdb2 = extattrdb2;
	}

	/**
	 * @return the extattrdb3
	 */
	public Double getExtattrdb3() {
		return extattrdb3;
	}

	/**
	 * @param extattrdb3 the extattrdb3 to set
	 */
	public void setExtattrdb3(Double extattrdb3) {
		this.extattrdb3 = extattrdb3;
	}

	/**
	 * @return the extattrdb4
	 */
	public Double getExtattrdb4() {
		return extattrdb4;
	}

	/**
	 * @param extattrdb4 the extattrdb4 to set
	 */
	public void setExtattrdb4(Double extattrdb4) {
		this.extattrdb4 = extattrdb4;
	}

	/**
	 * @return the sellSts
	 */
	public ZynStatus getSellSts() {
		return sellSts;
	}

	/**
	 * @param sellSts the sellSts to set
	 */
	public void setSellSts(ZynStatus sellSts) {
		this.sellSts = sellSts;
	}

	/**
	 * @return the sellStswater
	 */
	public ZynStatus getSellStswater() {
		return sellStswater;
	}

	/**
	 * @param sellStswater the sellStswater to set
	 */
	public void setSellStswater(ZynStatus sellStswater) {
		this.sellStswater = sellStswater;
	}

	/**
	 * @return the extattrdate1
	 */
	public Date getExtattrdate1() {
		return extattrdate1;
	}

	/**
	 * @param extattrdate1 the extattrdate1 to set
	 */
	public void setExtattrdate1(Date extattrdate1) {
		this.extattrdate1 = extattrdate1;
	}

	/**
	 * @return the extattrdate2
	 */
	public Date getExtattrdate2() {
		return extattrdate2;
	}

	/**
	 * @param extattrdate2 the extattrdate2 to set
	 */
	public void setExtattrdate2(Date extattrdate2) {
		this.extattrdate2 = extattrdate2;
	}

	/**
	 * @return the extattrdate3
	 */
	public Date getExtattrdate3() {
		return extattrdate3;
	}

	/**
	 * @param extattrdate3 the extattrdate3 to set
	 */
	public void setExtattrdate3(Date extattrdate3) {
		this.extattrdate3 = extattrdate3;
	}

	/**
	 * @return the extattrdate4
	 */
	public Date getExtattrdate4() {
		return extattrdate4;
	}

	/**
	 * @param extattrdate4 the extattrdate4 to set
	 */
	public void setExtattrdate4(Date extattrdate4) {
		this.extattrdate4 = extattrdate4;
	}

	/**
	 * @return the transfTaltolSum
	 */
	public Double getTransfTaltolSum() {
		return transfTaltolSum;
	}

	/**
	 * @param transfTaltolSum the transfTaltolSum to set
	 */
	public void setTransfTaltolSum(Double transfTaltolSum) {
		this.transfTaltolSum = transfTaltolSum;
	}

	/**
	 * @return the sellTaltolSum
	 */
	public Double getSellTaltolSum() {
		return sellTaltolSum;
	}

	/**
	 * @param sellTaltolSum the sellTaltolSum to set
	 */
	public void setSellTaltolSum(Double sellTaltolSum) {
		this.sellTaltolSum = sellTaltolSum;
	}

	/**
	 * @return the totalAmount
	 */
	public Double getTotalAmount() {
		return totalAmount;
	}

	/**
	 * @param totalAmount the totalAmount to set
	 */
	public void setTotalAmount(Double totalAmount) {
		this.totalAmount = totalAmount;
	}

	/**
	 * @return the extattrint5
	 */
	public Integer getExtattrint5() {
		return extattrint5;
	}

	/**
	 * @param extattrint5 the extattrint5 to set
	 */
	public void setExtattrint5(Integer extattrint5) {
		this.extattrint5 = extattrint5;
	}

	/**
	 * @return the extattrint6
	 */
	public Integer getExtattrint6() {
		return extattrint6;
	}

	/**
	 * @param extattrint6 the extattrint6 to set
	 */
	public void setExtattrint6(Integer extattrint6) {
		this.extattrint6 = extattrint6;
	}

	/**
	 * @return the extattrstr7
	 */
	public String getExtattrstr7() {
		return extattrstr7;
	}

	/**
	 * @param extattrstr7 the extattrstr7 to set
	 */
	public void setExtattrstr7(String extattrstr7) {
		this.extattrstr7 = extattrstr7;
	}

	/**
	 * @return the extattrstr8
	 */
	public String getExtattrstr8() {
		return extattrstr8;
	}

	/**
	 * @param extattrstr8 the extattrstr8 to set
	 */
	public void setExtattrstr8(String extattrstr8) {
		this.extattrstr8 = extattrstr8;
	}

	/**
	 * @return the extattrstr9
	 */
	public String getExtattrstr9() {
		return extattrstr9;
	}

	/**
	 * @param extattrstr9 the extattrstr9 to set
	 */
	public void setExtattrstr9(String extattrstr9) {
		this.extattrstr9 = extattrstr9;
	}

	/**
	 * @return the extattrstr10
	 */
	public String getExtattrstr10() {
		return extattrstr10;
	}

	/**
	 * @param extattrstr10 the extattrstr10 to set
	 */
	public void setExtattrstr10(String extattrstr10) {
		this.extattrstr10 = extattrstr10;
	}
	

}